package com.fortune.enums;

public enum ClientEnum {
    FIND_SUCCESS(true,"成功"),
    FIND_RESULT_AIR(true,"查询结果为空"),
    ADD_ERROR(true,"添加失败"),
    ADD_SUCCESS(true,"添加成功"),
    EDIT_ERROR(true,"编辑失败"),
    EDIT_SUCCESS(true,"编辑成功"),
    PHONE_NO_REPEAT(true, "当前手机号没有被添加"),
    PHONE_YES_REPEAT(true, "当前手机号已被添加"),
    NO_CLIENT(false, "没有该客户");
    private boolean status;
    private String msg;
    ClientEnum(boolean status,String msg){
        this.status = status;
        this.msg = msg;
    }
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
